import json

from config import BASE_DIR


def read_json_data(filename):
    with open(filename,encoding='utf-8') as f:
     json_data = json.load(f)
     new_list = []
     for data in json_data:
         val = data.values()
         new_list.append(tuple(val))
     return new_list
if __name__ == '__main__':
    a=read_json_data(BASE_DIR +"/data/data.json")
    print(a)


